-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert pcl::int_t
to std::int_t
#3422
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, apart from missing deprecation, LGTM.
There seem to be a problem with my suggestion, we get warnings of this form:
Not sure what is the best course of action. Do we want to force people to always use |
Yes. I'll fix those |
Fixing by using the following script (not exactly, modified)
The change in the last 2 commit will be large. I should have used clang-tidy, but I realized too late. Since I used sed, some changes will affect whitespace. I haven't checked the diff to see where and will rectify them later |
967c527
to
ac56411
Compare
PTAL. No more deprecation warning regarding |
Thanks, looks good! One thing on my mind though is the deprecation message. As it stands, we get
which is confusing. What do you think about deviating from our usual template and stating explicitly instead of what
|
Sure. That's a good idea actually. Users who use |
Just to mention: I'm getting now an compile issue since this PR:
|
I see. I probably missed the gpu module compilation (along with CI) since I'm using clang not gcc. It might just be a missing header. I'll send a patch ASAP. Sorry |
I'm using clang6 to build the PCL ;-). I have already fixed it locally, just waiting until build is fully completed, to be sure there are no further compile issues. It seems you didn't used best search & replace pattern, as this doesn't look as valid code^^: pcl/gpu/surface/src/convex_hull.cpp Line 77 in 72a0c4f
|
Yeah. I used
Oh, thanks a lot. Really sorry. I have clang-9 and gcc-9 and cuda doesn't like that. I switched to cuda-gcc (nvcc + gcc-8) and just started on the compilation issues but got side-tracked by: Edited out platform-specific troubles. |
Oh you are really using sed? I'm using it on our build server, but I don't really like it. You don't get a hint, that sed e.g. doesn't know |
pcl::int_t
to std::int_t
Reduces another dependency on boost satisfied by C++14